Регистрация...

Eserv Forum / E2 / Eserv 2 support (en) / troubles getting filenames with spaces via webserver

imported // (v1)
Продукты и услуги Скачать Документация Купить Поддержка Форумы Партнёрам Статьи О компании
Новости
12.10.2009
Переезд завершен
Hi,
I have set up a web server so that I can access my files when I am outside my home. However, when trying to retrieve a file like

"my test.doc"

I cannot reach it. The request is transformed in something like:

.../pub/my%20test.doc

and I get the reply: file not found.

Here a piece of the HTTP logfile, showing the same, with a different file:
12:02:00 42C Authorized as: edgar
12:02:00 42C Referer: http://.../pub/melinda/
12:02:00 42C Accept-Language: nl
12:02:00 42C Accept-Encoding: gzip, deflate
12:02:00 42C d:\pub\melinda\lbo%202.txt
12:02:00 42C Connection to client closed.
12:02:00 42C ThreadReturn: -4000
12:02:00 42B HTTP/1.1 404 Not Found
12:02:00 42B Content-Type: text/plain
12:02:00 42B Content-Length = unknown
12:02:00 42B Not Found

Any Clues? Any Suggestions?

regards, Edgar
 
Комментарии к этой версии (19.02.2003 14:24) [~edgarhildering] 05faf4b1
АвторДатаТекстtags
pig19.02.2003 14:28
Try latest build 3429 from ftp.eserv.ru.
imported
edgarhildering19.02.2003 14:44
I replaced ESERV.EXE with the latest build but it did not solve the problem: I still have '404 — file not found'

Edgar
imported
ac19.02.2003 19:45
Create the file plugins\autorun-URI-decode.txt with the following contents:
\ (C) day, mak, ac { UriDecode : URI-DECODE ( addr u -- addr2 u2 ) || addr u addr1 count || (( addr u )) addr -> addr1 BEGIN u 0 > WHILE addr C@ [CHAR] % = IF addr 1+ DUP C@ 16 DIGIT 0= IF 0 THEN SWAP 1+ C@ 16 DIGIT 0= IF 0 THEN SWAP 4 LSHIFT OR 3 ELSE addr C@ 1 THEN SWAP addr1 count + C! u OVER - -> u addr + -> addr count 1+ -> count REPEAT addr1 count ; Export: URI-DECODE } ' URI-DECODE TO vURI-DECODE
imported
edgarhildering19.02.2003 23:24
this workes! thanx a lot

Edgar
imported
Работает на Eserv/5.05567 (10.02.2020)